package com.yc.edu.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("course")
public class Course implements Serializable {
    private int id;

    @TableField("name")
    private String name;

    @TableField("content")
    private String content;

    @TableField("enrollCount")
    private int enrollCount;

    @TableField("teacherName")
    private String teacherName;

    @TableField("schoolName")
    private String schoolName;

    @TableField("startTime")
    private long startTime;

    @TableField("endTime")
    private long endTime;

    @TableField("type")
    private int type;

    @TableField("channel_Id")
    private int channelId;

    @TableField("price")
    private double price;

    @TableField("img_url")
    private String imgUrl;

    @TableField("link")
    private String link;
}
